<template>
	<view class="success" v-if="success">
		<view class="mask" @tap="close"></view>
		<template>
			<view class="success_img">
				<image :src="bind_success" mode=""></image>
				<view>认证成功</view>
			</view>
		</template>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bind_success: this.imgUrl + 'bind_success.png',	//认证成功图标
				success: false
			}
		},
		methods: {
			close() {
				this.success = false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.success {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		justify-content: center;
		align-items: center;
		.mask {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			z-index: 998;
			background-color: rgba($color: #000000, $alpha: 0.7);
		}
		.success_img {
			background: #FFF;
			border-radius: 24rpx;
			padding: 86rpx 214rpx;
			box-sizing: border-box;
			text-align: center;
			z-index: 1000;
			image {
				width: 112rpx;
				height: 112rpx;
				padding-bottom: 44rpx;
			}
		}
	}
</style>
